Automattic\Jetpack\Publicize\Publicize_Base D

Total Complexity 267
Dependencies 11
Dependents 0
Total lines 2,117
Lines of code 947
Logical lines of code 448
Comment lines 883
Methods 73
Properties 15

Methods 73

Method Rating Maintainability Complexity Lines of code
save_meta()
B
39 23 58
get_profile_link()
B
41 22 51
get_filtered_connection_data()
B
36 20 75
get_publicize_conns_test_results()
A
40 13 60
should_submit_post_pre_checks()
A
46 14 41
update_published_message()
A
41 12 55
show_options_popup()
A
52 14 22
jetpack_social_open_graph_filter()
A
50 10 28
register_post_meta()
A
35 3 109
get_display_name()
A
55 8 20
get_service_label()
A
58 8 16
get_attached_media_image()
S
55 6 19
get_api_data()
S
51 5 28
publicize_connections_url()
S
59 6 12
compress_and_scale_og_image()
S
56 4 21
reduce_file_size()
S
57 4 17
is_enabled()
S
63 5 10
get_publicizing_services()
S
59 4 13
post_is_publicizeable()
S
62 4 12
add_jetpack_social_og_images()
S
56 3 19
use_admin_ui_v1()
S
68 4 7
get_social_opengraph_image()
S
59 3 15
get_username()
S
63 4 10
build_sprintf()
S
59 3 14
__construct()
S
50 1 31
get_remote_filesize()
S
65 3 8
current_user_can_access_publicize_data()
S
68 3 7
add_jetpack_social_og_image()
S
59 2 15
get_available_service_data()
S
62 2 12
get_publicize_shares_info()
S
69 2 7
publicize_checkbox_default()
S
71 2 6
post_type_is_publicizeable()
S
71 2 6
get_supported_additional_connections()
S
70 2 7
has_paid_plan()
S
68 2 7
get_dismissed_notices()
S
69 2 7
can_manage_connection()
S
77 2 3
is_valid_facebook_connection()
S
66 2 8
parse_connection_error_code()
S
72 2 6
get_profile_picture()
S
69 2 7
calculate_scheduled_shares()
S
60 1 14
get_services()
S
100 1 0
disconnect_url()
S
100 1 0
is_enhanced_publishing_enabled()
S
81 1 3
has_enhanced_publishing_feature()
S
80 1 3
is_social_image_generator_enabled()
S
81 1 3
has_social_image_generator_feature()
S
80 1 3
has_connection_feature()
S
79 1 3
has_social_auto_conversion_feature()
S
79 1 3
get_connection()
S
100 1 0
has_connections_management_feature()
S
80 1 3
refresh_url()
S
100 1 0
connect_url()
S
100 1 0
has_paid_features()
S
81 1 3
has_feature_flag()
S
80 1 3
get_connections()
S
100 1 0
get_connection_meta()
S
100 1 0
get_connection_id()
S
100 1 0
is_connecting_connection()
S
72 1 5
message_meta_auth_callback()
S
80 1 3
blog_id()
S
81 1 3
user_id()
S
81 1 3
post_is_done_sharing()
S
100 1 0
test_connection()
S
100 1 0
test_publicize_conns()
S
81 1 3
is_invalid_linkedin_connection()
S
74 1 4
get_connection_unique_id()
S
100 1 0
is_global_connection()
S
79 1 3
get_resized_image_url()
S
66 1 10
unglobalize_connection()
S
100 1 0
globalize_connection()
S
100 1 0
disconnect()
S
100 1 0
flag_post_for_publicize()
S
100 1 0
add_post_type_support()
S
80 1 3